import Cookies from 'js-cookie'
//  生成cookie
export function setToken(name,token) {
    Cookies.set(name, token)
}
//  获取cookie
export function getToken(name) {
   return Cookies.get(name)
}
//  删除cookie
export function removeToken(name) {
    Cookies.remove(name)
}